﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace snat.proxy.sqlapi {
    public static class EntityQuery {

        public static ListProxy<snat.proxy.items.DBEntity> All() {
            Console.WriteLine("Requesting all entities");
            return Query.SQLQuery<snat.proxy.items.DBEntity>(
                String.Join(" ", Query.SELECT, Query.ALL, Query.FROM, Query.Entity));
        }

    }
}
